package avnf_large.delayPercent;

/**
 * @author shentianyu
 * @date 2020-12-28 14:20
 */
public class Calculator {
    public static void main(String[] args) {
        double numberOfUsedCPUs = 709.1;
        double mfsi = 258.14;
        double block = 0.05546;
        double satisfaction = 0.366844;

        double numberOfAllCPUs = 720;
        double numberOfAllSlots = 300.0;

        double ac = ((numberOfUsedCPUs/numberOfAllCPUs)+(mfsi/numberOfAllSlots))/(1-block)+(1-satisfaction);
        System.out.println(String.format("%.6f",ac));
    }
}
